package com.itheima.service;

import com.itheima.domain.Address;
import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;

import java.util.List;

public interface AddressService {
    PageResult findWithPage(QueryPageBean bean);

    void addAddress(Address address);

    void deleteAddress(int addressId);

    Address findById(int addressId);

    void updateAddress(String hasOldImg, Address address);

    List<Address> findAll();
}
